package com.hydl.power.service;

import com.hydl.power.pojo.CabinetDevice;
import com.hydl.power.pojo.DeviceAlarm;
import com.hydl.power.pojo.IncomingCabinet;

import java.text.ParseException;
import java.util.List;
import java.util.Map;

public interface IncomingCabinetService {
  List<Map> queryIncoming(String time, String deviceId)throws ParseException;

  List<Map> queryYesterdayIncoming(String time,String deviceId) throws ParseException;

  List<IncomingCabinet> queryeTheSameDayPower(String token,String strartTime);

  Map<String,Object> userReport(String projectId,String projectName,String startTime);

  List queryeEveryDayPower(String projectId,String startTime,String endTime) throws ParseException;

  List queryePowerPermutation(String projectId,String startTime) throws ParseException;

  List<IncomingCabinet> queryeTransformerPt(String projectId,String startTime) throws ParseException;

  List queryeLoadAnalysis(String projectId,String startTime ) throws ParseException;

  Map queryOrderCount(String projectId,String startTime,String endTime) throws ParseException;

  Map<String, Object>  getMonthElectricityBill(String projectId, String year,String time);

  Map linkRelativeRatio(String projectId,String startTime) throws ParseException;

  Map queryePowerFactor(String projectId,String startTime) throws ParseException;

  List<DeviceAlarm> getDeviceAlarm(String projectId, String time);

  List<CabinetDevice> getDeviceLifeCycle(String projectId);
}
